home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 3385 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1009 b 

  1. Path: lrz-muenchen.de!sun2!ua302aa
  2. From: ua302aa@sun2.lrz-muenchen.de (Kurt Watzka)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: Free Memory on the Heap
  5. Date: 28 Jan 1996 15:47:24 GMT
  6. Organization: Leibniz-Rechenzentrum, Muenchen (Germany)
  7. Distribution: world
  8. Message-ID: <4eg5qc$bl5@sparcserver.lrz-muenchen.de>
  9. References: <DLv0wM.MM4@news.zippo.com>
  10. NNTP-Posting-Host: sun2.lrz-muenchen.de
  11.  
  12. Cristiano Ligieri <ligieri@i2.com.br> writes:
  13.  
  14. >Hi all,
  15.  
  16. >The C language has a function that returns the amount of free memory
  17. >on the heap like a MemAvail Pascal function ?
  18.  
  19. Such a function need not be very meaningful on a lot of systems, so
  20. there is no function like that in the standard C library. Since
  21. there is no function called MemAvail in ISO Pascal, your C solution
  22. should be to use system specific functions for systems where "amount
  23. of free memory" has a defined meaning.
  24.  
  25. Kurt
  26. --
  27. | Kurt Watzka                             Phone : +49-89-2180-6254
  28. | watzka@stat.uni-muenchen.de
  29. | ua302aa@sunmail.lrz-muenchen.de
  30.